﻿namespace ufida.u9.ait.openapi
{
	using System;
	using System.Collections.Generic;
	using System.Text;
    using ufida.u9.ait.openapi.utils;
    using UFIDA.U9.PM.PO;
    using UFIDA.U9.SM.SO;
    using UFSoft.UBF.AopFrame;
    using UFSoft.UBF.Business;
    using UFSoft.UBF.Transactions;
    using UFSoft.UBF.Util.Context;

    /// <summary>
    /// POModifySaveSV partial 
    /// </summary>	
    public partial class POModifySaveSV
    {	
		internal BaseStrategy Select()
		{
			return new POModifySaveSVImpementStrategy();	
		}		
	}
	
	#region  implement strategy	
	/// <summary>
	/// Impement Implement
	/// 
	/// </summary>	
	internal partial class POModifySaveSVImpementStrategy : BaseStrategy
	{
		public POModifySaveSVImpementStrategy() { }

		public override object Do(object obj)
		{						
			POModifySaveSV bpObj = (POModifySaveSV)obj;

            return CodeUtils.DocUpdateTemplate2<POAITDTOData, PurchaseOrder>(bpObj, bpObj.Data, 
                POModifyBase.CreateDoc, false);
        }		
	}

	#endregion
	
	
}